const BaseHandler     = require('../base-handler');
const SystemServices  = require('../../../constants').SystemServices;
const HTTP_VERBS      = require('../../../constants').HTTP_VERBS;

class LoginForgotHandler extends BaseHandler {
    get pattern() {
        return "/login/forgot";
    }

    doGET(request, response) {
        response.render('console/login_forgot');
    }

    setup() {
        this.registerVerb(HTTP_VERBS.POST, this.doPOST);
        this.registerVerb(HTTP_VERBS.GET, this.doGET);
    }
}

module.exports = LoginForgotHandler;